package com.jeasonzhao.web;

public interface IWebContextWrapper
{
    public static class StringWrapper implements IWebContextWrapper
    {
        private IHtmlWriter w = new IHtmlWriter.StringWriter();
        public Object get(String key)
        {
            return null;
        }

        public IHtmlWriter getWriter()
        {
            return w;
        }

        public String toString()
        {
            return w.toString();
        }
    };

    public Object get(String key);

    public IHtmlWriter getWriter();
}
